package com.aube.mis.service;

import java.util.List;

import com.aube.mis.dto.AdvertisingDTO;
import com.aube.mis.dto.AppModelConfigDTO;
import com.aube.mis.dto.ModelDTO;
import com.aube.mis.dto.ShowModelDTO;
import com.aube.mis.vo.DataTableCriterias;

public interface ShowSettingService {
	List<ShowModelDTO> getModelList(String showId);
	void sortModelList(String showId, List<String> modelIdList);
	ModelDTO getModelDetail(String showId, String modelId);
	void deleteModel(String showId, String modelId);
	ModelDTO editModel(ModelDTO modelDTO);

	List<AppModelConfigDTO> getAppModelConfigList(String showId, String templateCode, String clientType);
	
	List<AdvertisingDTO> getAdvertisingList(DataTableCriterias criterias, String showId, String clientType, String templateCode);
	AdvertisingDTO getAdvertisingDetail(String showId, String advertisingId);
	void editAdvertising(AdvertisingDTO advertisingDTO);
	void deleteAdvertising(String showId, String advertisingId);
	void relateAdvertising(String advertisingId, String relatedId);
	void sortAdvertisingVideo(String showId, String clientType, String templateCode, String videoIds);
	List<String> getAdvertisingRelatedVideo(String showId, String clientType, String templateCode);

	List<String> getModelIdsByResource(String showId, String resourceType, String resourceId);
	void updateRelatedIdsByResource(String showId, List<String> modelIds, String resourceId);
	void saveExtraDesc(String showId, String modelId, String extraDescJson);
}
